package com.ckk.shiro.service.impl;

import com.ckk.shiro.dao.UserMapper;
import com.ckk.shiro.entity.User;
import com.ckk.shiro.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 陈昆昆
 * @version 1.0
 * @date 2020/4/9 10:17
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    public User findUserByUserName(String username) throws Exception {
        return userMapper.findUserByUserName(username);
    }
}
